//
//  DataModels.h
//  OilUnion
//
//  Created by itte on 2016/11/10.
//  Copyright © 2016年 funmain. All rights reserved.
//

#import <MJExtension.h>

@interface FSBaseModel : NSObject
@end

@interface FSCommonModel : NSObject
@property (nonatomic, copy) NSString *status_code;
@property (nonatomic, copy) NSString *message;
@property (strong, nonatomic) id data;
@end

#pragma mark - 个人中心
@interface FSUserModel : FSBaseModel
@property (nonatomic, assign) NSInteger ID;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *phone;
@property (nonatomic, copy) NSString *money;
@property (nonatomic, copy) NSString *farm_name;
@property (nonatomic, copy) NSString *level_id;
@end

@interface FSTokenModel : FSBaseModel
@property (nonatomic, copy) NSString *access_token;
@property (nonatomic, copy) NSString *token_type;
@property (nonatomic, assign) NSInteger expires_in;
@property (nonatomic, copy) NSString *refresh_token;
@end

@interface FSLoginModel : FSBaseModel
@property (retain, nonatomic) FSUserModel *user;
@property (retain, nonatomic) FSTokenModel *token;
@end

@interface FSFarmerModel : FSBaseModel
@property (nonatomic, assign) NSInteger ID;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *images;
@property (nonatomic, copy) NSString *province;
@end

@interface FSHomeModel : FSBaseModel
@property (nonatomic, assign) NSInteger ID;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *images;
@end

@interface FSFoodModel : FSBaseModel
@end

@interface FSCategoryModel : FSBaseModel
@property (nonatomic, assign) NSInteger ID;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *images;
@property (nonatomic, copy) NSString *is_show;
@end

@interface FSSubCategoryAtrrModel : FSBaseModel
@property (nonatomic, assign) NSInteger ID;
@property (nonatomic, copy) NSString *key_name;
@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *vip_price;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *des;
@end

@interface FSSubCategoryModel : FSBaseModel
@property (nonatomic, assign) NSInteger ID;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *cate_id;
@property (nonatomic, copy) NSString *images;
@property (nonatomic, copy) NSString *video;
@property (nonatomic, copy) NSString *vip_price;
@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *maturity;
@property (nonatomic, copy) NSString *weight;
@property (nonatomic, copy) NSString *des;
@property (nonatomic, copy) NSString *cate_name;
@property (nonatomic, copy) NSString *attr_cate_name;
@property (nonatomic, retain) NSArray *attrs;
@end

@interface FSSubShopModel : FSBaseModel
@property (nonatomic, assign) NSInteger ID;
@property (nonatomic, copy) NSString *name;
@end

@interface FSShopListModel : FSBaseModel
@property (nonatomic, assign) NSInteger ID;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *cate_id;
@property (nonatomic, copy) NSString *images;
@property (nonatomic, copy) NSString *video;
@property (nonatomic, copy) NSString *vip_price;
@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *maturity;
@property (nonatomic, copy) NSString *weight;
@property (nonatomic, copy) NSString *des;
@property (nonatomic, copy) NSString *data;
@property (nonatomic, copy) NSString *cate_name;
@property (nonatomic, copy) NSString *attr_cate_name;
@property (nonatomic, retain) NSArray *attrs;
@property (assign, nonatomic) NSInteger payNum;
@end

@interface FSAddressModel : FSBaseModel
@property (nonatomic, assign) NSInteger ID;
@property (nonatomic, copy) NSString *username;
@property (nonatomic, copy) NSString *phone;
@property (nonatomic, copy) NSString *province;
@property (nonatomic, copy) NSString *city;
@property (nonatomic, copy) NSString *district;
@property (nonatomic, copy) NSString *address_detail;
@property (nonatomic, assign) NSInteger is_default;
@end
